Sets the value for a parameter in a query.
Parent Type: LearningStoreQuery
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public void SetParameter ( ) |
parameterName
Name of the parameter
value
Value of the parameter.
| Exception type | Condition |
| ArgumentNullException | parameterName is a null reference. |
| InvalidOperationException | Invalid value value. |
See the LearningStoreQuery documentation for more information about creating and executing queries.
value must contain a value that is valid based on the type of the parameter specified by parameterName:
value must not contain a LearningStoreItemIdentifier returned from LearningStoreJob.AddItem.